warn about &widget->requisition, even for toplevels.
authorTim Janik <timj@gtk.org>
Wed, 24 Feb 1999 16:29:47 +0000 (16:29 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 24 Feb 1999 16:29:47 +0000 (16:29 +0000)
commitc4fe78345e11dfd2ed909500cdc6000682d96304
treea9db551c00b2a2ef3169ae3a6f532a6217e80955
parent082c0c8975001303cd3a50f2160766c77fc7710b
warn about &widget->requisition, even for toplevels.

Wed Feb 24 11:19:12 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_request): warn about
        &widget->requisition, even for toplevels.

        * gtk/gtkwindow.c (gtk_window_move_resize): request size into an
        automatic variable and check if our size has changed.
        when we decide to reallocate everything, we need to resize our
        own GdkWindow as well.

        * gtk/gtkmain.c:
        * gtk/gtkobject.c: hack time, make --gtk-debug=objects work even
        after gtk_type_init(), this is to "fix" gnome's arg parsing oddities.

        * gtk/gtktypeutils.h: don't segfault in GTK_CHECK_CLASS_TYPE and
        GTK_CHECK_TYPE upon NULL pointers.

        * gtk/gtklayout.c: removed bogus prototypes of gtk_layout_gravity_works,
        gtk_layout_set_static_gravity, gtk_layout_add_child_cb and
        gtk_layout_remove_child_cb to shut up compiler.

        * gtk/Makefile.am: added an empty rule
        gtkrc:
                :
        so make doesn't try to "update" gtkrc from gtkrc.c.
14 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/Makefile.am
gtk/gtklayout.c
gtk/gtkmain.c
gtk/gtkobject.c
gtk/gtktypeutils.h
gtk/gtkwidget.c
gtk/gtkwindow.c